package ooday04;

public abstract class Animal {
    String name;
    String color;
    int age;

    public Animal(String name, String color, int age) {
        this.name = name;
        this.color = color;
        this.age = age;
    }

    public void eat(){
        System.out.println(name+","+color+","+age);
    }

    public void drink(){
        System.out.println(name+","+color+","+age);
    }

    public abstract void play();
}
